#include <stdio.h>
int n,n1,n2;
int Fib(int n){
    if (n<=0)
       return 0;
    if (n==1)
       return n1;
    if (n==2)
       return n2;
    if (n>=3)
       Fib(1)==n1;
       Fib(2)==n2;
       return Fib(n-1)+Fib(n-2);
}

int main(){
    
    printf("Please input the first , second number and number of series:\n");
    scanf("%d%d%d",&n1,&n2,&n);
    printf("Fibonacci series:%d %d",n1,n2);
     for(int i=3;i<=n;i++){
       printf(" %d",Fib(i));
    }   
}